home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
151-175
/
disk_154
/
ada
/
main.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-05-06
|
407b
|
19 lines
extern int lines;
extern int num_errors;
extern char id_string[];
extern char char_lit[];
extern char num_lit[];
main() {
printf( "\nStarting Ada grammatical analysis\n\n[1]\t" );
yyparse();
printf( "---> Grammatical analysis complete. %d error(s) <---\n", num_errors);
}
yyerror(s)
char *s;
{
printf( "?? %s ??\n\t", s );
++num_errors;
}